package com.xh.xyzp.common.domain.vo.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @Author: xianghao
 * @Description: 游标返回结果
 * @Date: 2024-03-26  13:38
 */
@Data
@Builder
public class CursorResp<T> {

    @ApiModelProperty("是否是最后一页")
    private boolean isLast = Boolean.FALSE;

    @ApiModelProperty("当前游标")
    private String cursor;

    @ApiModelProperty("数据列表")
    private List<T> list;

}
